package com.ml.mall.bean.req.deduct;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/19
 *   @version        :1.0
**/
@ApiModel(value = "系统提成类型修改model")
@Data
public class DeductEditDto {

    @ApiModelProperty(value = "1：5分位算法；2: 10分位算法；算钱小数点用")
    @NotNull(message = "分为算法不能为空")
    private Integer centType;

    @ApiModelProperty(value = "提成费率")
    @NotNull(message = "提成费率不能为空")
    private BigDecimal deductRate;
}
